package com.yl.chainStore.entity.user

import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableName
import com.yl.chainStore.common.enums.TypeEnum
import com.yl.chainStore.entity.pay.PayItemCustomerShowRule
import com.yl.chainStore.pojo.vo.customer.CustomerLeftJoinInfo
import com.yl.common.annotation.NoArg
import com.yl.common.getContext
import java.util.*

/**
 * <p>
 *
 * </p>
 *
 * @author cxw
 * @since 2021-10-12
 */
@NoArg
@TableName("company_user_customer_select_log")
data class CompanyUserCustomerSelectLog(

	/**
	 * 用户id
	 */
	@TableField(value = "user_id")
	var userId: Long = getContext().userId,

	/**
	 * 客户id
	 */
	@TableField("customer_id")
	var customerId: Long,

	/**
	 * 查询时间（排序用）
	 */
	@TableField("select_time")
	var selectTime: Date = Date(),

	/**
	 * 分院id
	 */
	@TableField("sub_company_id")
	var subCompanyId :Long = getContext().subCompanyId

	):CustomerLeftJoinInfo()
